/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Cluster
 * 集群相关接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;


namespace  JDCloudSDK.Kubernetes.Apis
{

    /// <summary>
    ///  检查集群网络配置
    /// </summary>
    public class ValidateNetworkConfigResult : JdcloudResult
    {
        ///<summary>
        /// 网络配置是否通过校验。0为通过，1为master与vpc冲突，2为master和serivce冲突，3为node和vpc冲突，4为servcie和vpc冲突.
        ///</summary>
        public   int? Code{ get; set; }
        ///<summary>
        /// code字段非零时，给出详细原因。
        ///</summary>
        public   string Reason{ get; set; }
        ///<summary>
        /// master CIDR 是否有效
        ///</summary>
        public   bool MasterCidrValid{ get; set; }
        ///<summary>
        /// service CIDR 是否有效
        ///</summary>
        public   bool ServiceCidrValid{ get; set; }
        ///<summary>
        /// node CIDR 是否有效
        ///</summary>
        public   bool NodeCidrValid{ get; set; }
    }
}